package com.lzq.lottery_system.service;

import com.lzq.lottery_system.controller.param.UserLoginParam;
import com.lzq.lottery_system.controller.param.UserPasswordLoginParam;
import com.lzq.lottery_system.controller.param.UserRegisterParam;
import com.lzq.lottery_system.service.dto.UserDTO;
import com.lzq.lottery_system.service.dto.UserLoginDTO;
import com.lzq.lottery_system.service.dto.UserRegisterDTO;
import com.lzq.lottery_system.service.enums.UserIdentityEnum;

import java.util.List;

public interface UserService {
    /**
     * 注册
     */
    UserRegisterDTO register(UserRegisterParam param);

    /**
     * 用户登录
     * 1.密码登录
     * 2.验证码登录
     * @param param
     * @return
     */
    UserLoginDTO login(UserLoginParam param);

    List<UserDTO> findUserInfo(UserIdentityEnum userIdentityEnum);
}
